package com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo;

import javax.validation.constraints.Size;

import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.common.validatioin.constants.ValidationConstants;

public class ListQueryVO extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @NotBlank
    @IntegerString
    @Size(max = 32, message = ValidationConstants.MSG_MAXCHARLEN)
    protected String position_str;
    
    @NotBlank
    @IntegerString
    @Size(max = 5, message = ValidationConstants.MSG_MAXCHARLEN)
    protected String request_num;
    
    public String getPosition_str() {
        return position_str;
    }
    
    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }
    
    public String getRequest_num() {
        return request_num;
    }
    
    public void setRequest_num(String request_num) {
        this.request_num = request_num;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ListQueryVO [position_str=").append(position_str).append(", request_num=")
                .append(request_num).append(", user_token=").append(user_token).append(", tenant_id=")
                .append(tenant_id).append("]");
        return builder.toString();
    }
    
}
